*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: silver;
}
.header{
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
    position: fixed;
    box-shadow: 0px,0px,20px,black;
    z-index: 100;
}
.logo{
    display: flex;
    gap: 7px;
    margin-left: 50px;
}
.logo h1{
    font-size: 3em;
    font-weight: bold;
    color: rgb(255, 127, 38);
}
.logo h1 span{
    color: rgb(153, 215, 234);
}

nav ul{
    display: inline-flex;
    list-style: none;
    width: 100%;
    font-size: 1.1em;
}
nav ul li{
    width: 120px;
    margin: 10px;
    padding: 10px;
}
nav ul li a{
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    font-weight:bold;
    transition: 0.3s;
}
nav ul li a .fa{
    margin-right: 3px;
}
nav ul li a:hover{
    color:  rgb(255, 127, 38);
}
input{
    display: none;
}
/************* Responsive design ***************/
@media (max-width:960px){
    .logo{
        margin:auto;
        margin-left: 25px;
    }
    .logo h1{
        font-size: 2em;
    }
    nav ul{
        position: absolute;
        background: #fff;
        top: 100px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        height: 0;
        overflow: hidden;
        transition: 0.5s;
    }
    nav ul li:nth-child(1){
        margin-top: 50px;
    }
    label{
        width: 50px;
        height: 30px;
        position: relative;
        right: 25px;
    }
    label div{
        width: 100%;
        height: 5px;
        background-color:  rgb(153, 215, 234);
        position: absolute;
        border-radius: 99px;
        transform: translateY(50%);
        transition: 0.3s;
        transform: scale(1);
    }
    label div:nth-child(1){
        top: 0;
    }
    label div:nth-child(2){
        top: 50%;
    }
    label div:nth-child(3){
        top: 100%;
    }
    input:checked + .header nav ul{
        height: 100vh;
    }
    input:checked + .header label div:nth-child(1){
       transform: rotate(45deg);
       top: 50%;
    }
    input:checked + .header label div:nth-child(3){
        transform: rotate(-45deg);
        top: 50%;
     }
     input:checked + .header label div:nth-child(2){
        transform: scale(0);
        opacity: 0;
     }
    
    


}
